<template>
  <div id="app">
    <router-view />
<<<<<<< HEAD
    <Tabbar :items="items" :defaultSelectIndex="0" v-show="this.$route.meta.isShowTab"/>
  </div>
</template>
<script>
import Tabbar from "./components/tabbar/Tabbar";
export default {
  components: {
    Tabbar,
  },
  data() {
    return {
      items: [
        {
          title: "首页",
          path: "/",
          icon:'iconfont icon-home'
        },
        {
          title: "分类",
          path: "/classfily",
          icon:'iconfont icon-sort'
        },
        {
          title: "购物车",
          path: "/cart",
          icon:'iconfont icon-icon4'
        },
        {
          title: "我的",
          path: "/myself",
          icon:'iconfont icon-wode'
=======
    <div class="empty"></div>
    <Tabber :Items="Items" :selectIndex="0" v-show="this.$route.meta.isShowTabber" />
  </div>
</template>

<script>
import Tabber from "./components/tabber/Tabber";
export default {
  components: {
    Tabber,
  },
  data() {
    return {
      Items: [
        {
          title: "首页",
          icon: require("./assets/icon/shouye.png"),
          iconactive: require("./assets/icon/shouye_active.png"),
          path:'/'
        },
        {
          title: "分类",
          icon: require("./assets/icon/fenlei.png"),
          iconactive: require("./assets/icon/fenlei_active.png"),
          path:'/classify'
        },
        {
          title: "购物车",
          icon: require("./assets/icon/gouwuchezhengpin.png"),
          iconactive: require("./assets/icon/gouwuchezhengpin_active.png"),
          path:'/cart'
        },
        {
          title: "我的",
          icon: require("./assets/icon/wode.png"),
          iconactive: require("./assets/icon/wode_active.png"),
          path:'/main'
>>>>>>> aeda2c13c6d9f1bcdcbc764ca2642136ce06f725
        },
      ],
    };
  },
};
</script>
<<<<<<< HEAD
<style>
=======

<style scoped>
.empty
{
  height: 65px;
}
>>>>>>> aeda2c13c6d9f1bcdcbc764ca2642136ce06f725
</style>
